/*
 * @Author: liuxiao
 * @Date: 2023-09-04 01:37:18
 * @Last Modified by: liuxiao
 * @Last Modified time: 2023-11-01 19:57:43
 * ps:定义小仓库数据state类型
 *
 */
import type { RouteRecordRaw } from 'vue-router'
// export interface UserState {
//   token: string | null
//
//   username: string
//   avatar: string
// }

export interface UserState {
  token: string | null
  userInfo: {
    username?: string
    avatar?: string
  }
  menuRoutes: RouteRecordRaw[]
}
